<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>UserLogin</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
    <link rel="stylesheet" href="style.css">
</head>
<body onload="PR.prettyPrint()">
<nav class="navbar">
    <div class="container-fluid">
        <div class="navbar-header">
            <a class="navbar-brand" href="index.html">
                SSM_Demo
            </a>
        </div>
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav navbar-right">
                <li><a href="https://github.com/YeDaxia/JApiDocs" target="_blank">GitHub</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">V1<span class="caret"></span></a>
                    <ul class="dropdown-menu">
                            <li><a href="../admin/index.html">admin</a></li>
                            <li><a href="../component/index.html">component</a></li>
                            <li><a href="../config/index.html">config</a></li>
                            <li><a href="../error/index.html">error</a></li>
                            <li><a href="../index.html/index.html">index.html</a></li>
                            <li><a href="../login.html/index.html">login.html</a></li>
                            <li><a href="../lyear/index.html">lyear</a></li>
                            <li><a href="../register.html/index.html">register.html</a></li>
                            <li><a href="../view/index.html">view</a></li>
                            <li><a href="../admin/index.html">admin</a></li>
                            <li><a href="../component/index.html">component</a></li>
                            <li><a href="../config/index.html">config</a></li>
                            <li><a href="../error/index.html">error</a></li>
                            <li><a href="../index.html/index.html">index.html</a></li>
                            <li><a href="../login.html/index.html">login.html</a></li>
                            <li><a href="../lyear/index.html">lyear</a></li>
                            <li><a href="../register.html/index.html">register.html</a></li>
                            <li><a href="../view/index.html">view</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
</nav>
<div class="book with-summary">
    <div class="book-summary">
<div class="search-box form-group">
    <input type="text" class="form-control" id="inputSearch" placeholder="搜索接口">
    <span class="glyphicon glyphicon-search form-control-feedback" aria-hidden="true"></span>
</div>
<div id="accordion" class="catalog">
        <div class="panel">
            <div id="heading0" data-parent="#accordion" class="catalog-title" data-toggle="collapse"
                 aria-expanded="true" data-target="#collapse0" aria-controls="collapse0">
                <i class="glyphicon glyphicon-align-justify"></i> ConsoleController
            </div>
            <div id="collapse0" class="collapse in " aria-labelledby="heading0">
                    <a class="catalog-item" href="com_david_controller_ConsoleController.html#consoleView">
                        控制台主界面
                    </a>
                    <a class="catalog-item" href="com_david_controller_ConsoleController.html#addMessage">
                        增加留言
                    </a>
                    <a class="catalog-item" href="com_david_controller_ConsoleController.html#getMessage">
                        显示留言
                    </a>
                    <a class="catalog-item" href="com_david_controller_ConsoleController.html#uploadImage">
                        上传图片
                    </a>
            </div>
        </div>
        <div class="panel">
            <div id="heading1" data-parent="#accordion" class="catalog-title" data-toggle="collapse"
                 aria-expanded="true" data-target="#collapse1" aria-controls="collapse1">
                <i class="glyphicon glyphicon-align-justify"></i> EmployeeController
            </div>
            <div id="collapse1" class="collapse " aria-labelledby="heading1">
                    <a class="catalog-item" href="com_david_controller_EmployeeController.html#getAllEmployee">
                        获取所有员工信息
                    </a>
                    <a class="catalog-item" href="com_david_controller_EmployeeController.html#saveEmployee">
                        添加员工
                    </a>
                    <a class="catalog-item" href="com_david_controller_EmployeeController.html#deleteEmployee">
                        删除员工
                    </a>
                    <a class="catalog-item" href="com_david_controller_EmployeeController.html#batchDelete">
                        批量删除员工
                    </a>
                    <a class="catalog-item" href="com_david_controller_EmployeeController.html#findEmployeeByCondition">
                        按条件查找员工
                    </a>
                    <a class="catalog-item" href="com_david_controller_EmployeeController.html#updateEmployee">
                        更新员工信息
                    </a>
            </div>
        </div>
        <div class="panel">
            <div id="heading2" data-parent="#accordion" class="catalog-title" data-toggle="collapse"
                 aria-expanded="true" data-target="#collapse2" aria-controls="collapse2">
                <i class="glyphicon glyphicon-align-justify"></i> LogController
            </div>
            <div id="collapse2" class="collapse " aria-labelledby="heading2">
                    <a class="catalog-item" href="com_david_controller_LogController.html#consoleLog">
                        查询登录日志
                    </a>
                    <a class="catalog-item" href="com_david_controller_LogController.html#consoleWeb">
                        获取首页数据
                    </a>
                    <a class="catalog-item" href="com_david_controller_LogController.html#getLogDetail">
                        获取详细的登录日志
                    </a>
                    <a class="catalog-item" href="com_david_controller_LogController.html#getOperateLog">
                        获取详细的操作日志
                    </a>
            </div>
        </div>
        <div class="panel">
            <div id="heading3" data-parent="#accordion" class="catalog-title" data-toggle="collapse"
                 aria-expanded="true" data-target="#collapse3" aria-controls="collapse3">
                <i class="glyphicon glyphicon-align-justify"></i> UserLogin
            </div>
            <div id="collapse3" class="collapse in " aria-labelledby="heading3">
                    <a class="catalog-item" href="com_david_controller_UserLogin.html#adminLogin">
                        登录界面验证
                    </a>
                    <a class="catalog-item" href="com_david_controller_UserLogin.html#saveHr">
                        用户注册
                    </a>
                    <a class="catalog-item" href="com_david_controller_UserLogin.html#logout">
                        logout
                    </a>
                    <a class="catalog-item" href="com_david_controller_UserLogin.html#loginInit">
                        loginInit
                    </a>
            </div>
        </div>
        <div class="panel">
            <div id="heading4" data-parent="#accordion" class="catalog-title" data-toggle="collapse"
                 aria-expanded="true" data-target="#collapse4" aria-controls="collapse4">
                <i class="glyphicon glyphicon-align-justify"></i> UserRole
            </div>
            <div id="collapse4" class="collapse " aria-labelledby="heading4">
                    <a class="catalog-item" href="com_david_controller_UserRole.html#getAllUser">
                        获取所有账户
                    </a>
                    <a class="catalog-item" href="com_david_controller_UserRole.html#deleteUser">
                        删除单个账户
                    </a>
                    <a class="catalog-item" href="com_david_controller_UserRole.html#addUser">
                        增加账户
                    </a>
                    <a class="catalog-item" href="com_david_controller_UserRole.html#findUser">
                        查找账户
                    </a>
                    <a class="catalog-item" href="com_david_controller_UserRole.html#batchRemoveUser">
                        批量删除
                    </a>
                    <a class="catalog-item" href="com_david_controller_UserRole.html#changeUser">
                        改变账户权限及状态
                    </a>
            </div>
        </div>
</div>    </div>
    <div class="book-body">
        <div class="body-inner">
            <div class="book-header">
                <div class="d-flex justify-content-between">
                    <a class="header-menu toggle-catalog" href="javascript:void(0)"><i
                            class="glyphicon glyphicon-align-justify"></i> 目录</a>
                </div>
            </div>
            <div class="page-wrapper">
                <div class="page-inner">
                    <div class="action-list">
                        <div class="action-item">
<h2 id="adminLogin"><a href="#">登录界面验证 </a></h2>
    <p class="text-muted"><em>作者: David</em></p>
<p><strong>请求URL</strong></p>
<p>
    <code>/Admin/login</code>
        <span class="label label-default">POST</span>
</p>
        <p><strong>请求体</strong> <span class="badge">application/json</span></p>
        <pre class="prettyprint lang-json">{
	"username":"string【必须】",
	"password":"string【必须】",
	"remember":"string"
}</pre>
    <p><strong>返回结果</strong></p>
    <pre class="prettyprint lang-json">{
	"status":"int",
	"message":"string"
}</pre>
        <div class="form-group">
            <a type="button" class="btn btn-sm btn-default" href="javaCodes/com_david_controller_UserLogin_adminLogin_BaseBean.html"><i
                        class="fa fa-android" aria-hidden="true"></i> Android Model</a>
            <a type="button" class="btn btn-sm btn-default" href="iosCodes/com_david_controller_UserLogin_adminLogin_BaseBean.html"><i class="fa fa-apple"
                                                                                                 aria-hidden="true"></i>
                iOS Model</a>
        </div>
                        </div>
                        <hr>
                        <div class="action-item">
<h2 id="saveHr"><a href="#">用户注册 </a></h2>
    <p class="text-muted"><em>作者: David</em></p>
<p><strong>请求URL</strong></p>
<p>
    <code>/Admin/saveHr</code>
        <span class="label label-default">POST</span>
</p>
        <p><strong>请求体</strong> <span class="badge">application/json</span></p>
        <pre class="prettyprint lang-json">{
	"email":"string",
	"file":"string",
	"password":"string【必须】",
	"phone":"string",
	"remark":"string",
	"username":"string"
}</pre>
    <p><strong>返回结果</strong></p>
    <pre class="prettyprint lang-json">{
	"status":"int",
	"message":"string"
}</pre>
        <div class="form-group">
            <a type="button" class="btn btn-sm btn-default" href="javaCodes/com_david_controller_UserLogin_saveHr_BaseBean.html"><i
                        class="fa fa-android" aria-hidden="true"></i> Android Model</a>
            <a type="button" class="btn btn-sm btn-default" href="iosCodes/com_david_controller_UserLogin_saveHr_BaseBean.html"><i class="fa fa-apple"
                                                                                                 aria-hidden="true"></i>
                iOS Model</a>
        </div>
                        </div>
                        <hr>
                        <div class="action-item">
<h2 id="logout"><a href="#">logout </a></h2>
    <p class="text-muted"><em>作者: David</em></p>
<p><strong>请求URL</strong></p>
<p>
    <code>/Admin/logout</code>
        <span class="label label-default">GET</span>
</p>
    <p><strong>返回结果</strong></p>
    <pre class="prettyprint lang-json">string{}</pre>
                        </div>
                        <hr>
                        <div class="action-item">
<h2 id="loginInit"><a href="#">loginInit </a></h2>
    <p class="text-muted"><em>作者: David</em></p>
<p><strong>请求URL</strong></p>
<p>
    <code>/Admin/loginInit</code>
        <span class="label label-default">GET</span>
</p>
    <p><strong>返回结果</strong></p>
    <pre class="prettyprint lang-json">{
	"status":"int",
	"message":"string",
	"image":"string",
	"username":"string"
}</pre>
        <div class="form-group">
            <a type="button" class="btn btn-sm btn-default" href="javaCodes/com_david_controller_UserLogin_loginInit_UserImage.html"><i
                        class="fa fa-android" aria-hidden="true"></i> Android Model</a>
            <a type="button" class="btn btn-sm btn-default" href="iosCodes/com_david_controller_UserLogin_loginInit_UserImage.html"><i class="fa fa-apple"
                                                                                                 aria-hidden="true"></i>
                iOS Model</a>
        </div>
                        </div>
                        <hr>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script>
<script src="https://cdn.jsdelivr.net/autocomplete.js/0/autocomplete.jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
<script>

    var search_source_data = [
            {name: 'ConsoleController.控制台主界面', url: 'com_david_controller_ConsoleController.html#consoleView'},
            {name: 'ConsoleController.增加留言', url: 'com_david_controller_ConsoleController.html#addMessage'},
            {name: 'ConsoleController.显示留言', url: 'com_david_controller_ConsoleController.html#getMessage'},
            {name: 'ConsoleController.上传图片', url: 'com_david_controller_ConsoleController.html#uploadImage'},
            {name: 'EmployeeController.获取所有员工信息', url: 'com_david_controller_EmployeeController.html#getAllEmployee'},
            {name: 'EmployeeController.添加员工', url: 'com_david_controller_EmployeeController.html#saveEmployee'},
            {name: 'EmployeeController.删除员工', url: 'com_david_controller_EmployeeController.html#deleteEmployee'},
            {name: 'EmployeeController.批量删除员工', url: 'com_david_controller_EmployeeController.html#batchDelete'},
            {name: 'EmployeeController.按条件查找员工', url: 'com_david_controller_EmployeeController.html#findEmployeeByCondition'},
            {name: 'EmployeeController.更新员工信息', url: 'com_david_controller_EmployeeController.html#updateEmployee'},
            {name: 'LogController.查询登录日志', url: 'com_david_controller_LogController.html#consoleLog'},
            {name: 'LogController.获取首页数据', url: 'com_david_controller_LogController.html#consoleWeb'},
            {name: 'LogController.获取详细的登录日志', url: 'com_david_controller_LogController.html#getLogDetail'},
            {name: 'LogController.获取详细的操作日志', url: 'com_david_controller_LogController.html#getOperateLog'},
            {name: 'UserLogin.登录界面验证', url: 'com_david_controller_UserLogin.html#adminLogin'},
            {name: 'UserLogin.用户注册', url: 'com_david_controller_UserLogin.html#saveHr'},
            {name: 'UserLogin.logout', url: 'com_david_controller_UserLogin.html#logout'},
            {name: 'UserLogin.loginInit', url: 'com_david_controller_UserLogin.html#loginInit'},
            {name: 'UserRole.获取所有账户', url: 'com_david_controller_UserRole.html#getAllUser'},
            {name: 'UserRole.删除单个账户', url: 'com_david_controller_UserRole.html#deleteUser'},
            {name: 'UserRole.增加账户', url: 'com_david_controller_UserRole.html#addUser'},
            {name: 'UserRole.查找账户', url: 'com_david_controller_UserRole.html#findUser'},
            {name: 'UserRole.批量删除', url: 'com_david_controller_UserRole.html#batchRemoveUser'},
            {name: 'UserRole.改变账户权限及状态', url: 'com_david_controller_UserRole.html#changeUser'},
    ];



    $('.toggle-catalog').click(function () {
        $('.book').toggleClass('with-summary');
    });

    $('#inputSearch').autocomplete({hint: false}, [
        {
            source: function (query, callback) {
                var result = [];
                for(var i = 0; i !== search_source_data.length; i++){
                    if(search_source_data[i].name.indexOf(query) !== -1){
                        result.push(search_source_data[i]);
                    }
                }
                callback(result);
            },
            displayKey: 'name',
            templates: {
                suggestion: function (suggestion) {
                    return suggestion.name;
                }
            }
        }
    ]).on('autocomplete:selected', function (event, suggestion, dataset, context) {
        self.location = suggestion.url;
    });
</script>
</body>
</html>